.vc-sketch {
  position: relative;
  width: 243px;
  padding: 10px 10px 0;
  box-sizing: initial;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 8px 16px rgba(0, 0, 0, .15);
}

.vc-sketch-saturation-wrap {
  width: 100%;
  padding-bottom: 60%;
  position: relative;
  overflow: hidden;
}

.vc-sketch-controls {
  display: flex;
}

.vc-sketch-sliders {
  padding: 4px 0;
  flex: 1;
}

.vc-sketch-sliders .vc-hue,
.vc-sketch-sliders .vc-alpha-gradient {
  border-radius: 2px;
}

.vc-sketch-hue-wrap {
  position: relative;
  height: 10px;
}

.vc-sketch-alpha-wrap {
  position: relative;
  height: 10px;
  margin-top: 4px;
  overflow: hidden;
}

.vc-sketch-color-wrap {
  width: 24px;
  height: 24px;
  position: relative;
  margin-top: 4px;
  margin-left: 4px;
  border-radius: 3px;
}

.vc-sketch-active-color {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), inset 0 0 4px rgba(0, 0, 0, .25);
  z-index: 2;
}

.vc-sketch-color-wrap .vc-checkerboard {
  background-size: auto;
}

.vc-sketch-field {
  display: flex;
  padding-top: 4px;
}

.vc-sketch-field .vc-input__input {
  width: 90%;
  padding: 4px 0 3px 10%;
  border: none;
  box-shadow: inset 0 0 0 1px #ccc;
  font-size: 10px;
}

.vc-sketch-field .vc-input__label {
  display: block;
  text-align: center;
  font-size: 11px;
  color: #222;
  padding-top: 3px;
  padding-bottom: 4px;
  text-transform: capitalize;
}

.vc-sketch-field--single {
  flex: 2;
  padding-left: 6px;
}

.vc-sketch-field--double {
  flex: 5;
}

.vc-sketch-presets {
  margin-right: -10px;
  margin-left: -10px;
  padding-left: 10px;
  border-top: 1px solid #eee;

  .vc-sketch-presets-color {
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    display: inline-block;
    margin: 0 9px 9px 0;
    vertical-align: top;
    cursor: pointer;
    width: 17px;
    height: 17px;
    border: 1px solid rgba(0, 0, 0, 0.08);

    &.check-board {
      border: none;
      width: 19px;
      height: 19px;
    }

    .vc-checkerboard {
      border: 1px solid rgba(0, 0, 0, 0.08);
    }
  }

  .is-pack-down {
    max-height: 112px;
    overflow: hidden;
  }

  .vc-sketch-presets-more {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 5px;
    margin-left: -10px;

    &.is-pack-up {
      transform: rotate(180deg);
    }
  }
}

.vc-sketch__disable-alpha .vc-sketch-color-wrap {
  height: 10px;
}

.vc-group {
  margin: 5px 0;

  .vc-group-select {
    width: 132px;
    height: 27px;
    line-height: 27px;

    .el-input__inner {
      border: none;
      padding-left: 0;
      height: 27px;
      line-height: 27px;
      font-size: 12px;
    }

    .el-input__suffix {
      height: 27px;
      line-height: 27px;

      .el-input__icon {
        height: 27px;
        line-height: 27px;
      }
    }
  }
}

.vc-group-select-popper {
  .el-select-dropdown__item {
    padding: 0 15px 0 15px;
    font-size: 0.9em;
  }
}